import { request, config } from 'utils'

const { api } = config
const { serviceRateEdit, serviceRateQuery } = api


export async function update (params) {
  return request({
    url: serviceRateEdit,
    method: 'put',
    data: params,
  })
}

export async function query (params) {
  return request({
    url: serviceRateQuery,
    method: 'put',
    data: params,
  })
}


